package main

import (
	"bufio"
	"fmt"
	"os"
)

func main(){
    f,err:=os.Open("stringify.go")
    if err != nil{
        fmt.Println(err)
        return
    }
    defer f.Close()
    reader:=bufio.NewReader(f)
    lines:=0
    for{
        codes,isPrefix,err:=reader.ReadLine()
        if err != nil{
            break
        }
        line:=string(codes)
        fmt.Println(line)
        if !isPrefix{
            lines++
        }
    }
    fmt.Println(lines)
}